package com.wjh.devops.start;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication(scanBasePackages = {"com.example.devops","com.wjh.configcenter"})
@PropertySource(value = "classpath:customerProperties.properties")
@MapperScan("com.example.devops.dao")
@EntityScan("com.example.devops.entity.pojo")
public class DevopsApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(DevopsApplication.class, args);
    }

}
